'''
Created on 2013-10-8

@author: hanjiewu
'''
import survey

table = survey.Pregnancies()
table.ReadRecords()

print 'Number of pregnancies ', len(table.records)
count = 0
for record in table.records:
    if record.outcome == 1:
        count += 1
print 'Number of outcome children ', count